package ooday05;
/** */
public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p = new Point();
        p.setX(10);//设置x坐标
        p.setY(10);//设置y// 坐标
                         //输出x坐标     输出y坐标
        System.out.println(p.getX()+","+p.getY());
    }
}
